<include file="Public:header" />
<include file="Public:leftside" />
<link rel="stylesheet" href="/NewAdmin/css/areaManagement.css" />
<link rel="stylesheet" href="/NewAdmin/css/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="/NewAdmin/css/jquery-ui-private.css" />
<script>
var platform_shopname= '58代言';
</script>
<style>
	.ui-widget-overlay{background: rgba(170, 170, 170, 0.46);}
</style>
<script type="text/javascript" src="/NewAdmin/js/jquery-ui-private.js" charset="utf-8"></script>
<script type="text/javascript" src="/NewAdmin/js/zhlmy.js" charset="utf-8"></script>
<div id="dialog"></div>

<div class="main-content">
	<div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
		<ul class="breadcrumb">
			<li> <i class="icon-home home-icon"></i> <a href="/">首页</a> </li>
			<li class="active">物流管理</li>
		</ul>
	</div>
	<div class="page-content">
	
	    <div class="search_box">
	    	<div class="row padder-v">
				<div class="col-sm-4">
					<a href="{:U('System/expressadd')}" class="btn btn-sm btn-primary" onclick="addProvince()"><i class="fa fa-plus"></i> 添加物流公司 </a>
				</div>
			</div>
		</div>
    	<div class="listContent">
    	<table class="table table-striped table-bordered table-hover" width="100%" border="0" cellpadding="0" cellspacing="0">
            <thead>
        	<tr class="f_black bg_gray">
				<th style="width: 50px;" align="center">ID</th>
                <th style="width: 30%;">快递公司</th>
                <th>快递公司编码</th>
                <th>是否默认</th>
                <th>排序</th>
                <th>状态</th>
                <th>操作</th>
                
            </tr>
            </thead>
            <tbody>
	            <foreach name="expressarray" item="v">
	            <tr class="list" id="list2">
            		
                	<td>{$v.id}</td>
		            <td style="text-align:left;">{$v.company_name}</td>
		            <td>{$v.express_no}</td>
		           
		            <td><eq name="v['is_default']" value="0">否</eq><eq name="v['is_default']" value="1">是</eq></td>
		           
		            <td>{$v.sort}</td>
		            <td><eq name="v['is_enabled']" value="0">关闭</eq><eq name="v['is_enabled']" value="1">启用</eq></td>
	                <td>
	                	<div class="dropdown">
	  						<button class="btn btn-info btn-sm dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
	    						请选择操作项
	    						<span class="caret"></span>
	  						</button>
							<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
								<li><a href="{:U('System/expressadd',array('id'=>$v['id']))}">编辑</a></li>
								<li><a href="{:U('System/expressdel',array('id'=>$v['id']))}">删除</a></li>
		            
							</ul>
						</div>
	                </td>
	            </tr> 
	            </foreach>
	            </tbody>
        </table>
        <div class="paging"><ul class="pagination">    </ul></div>
    </div>
    
   </div>
</div>


<include file="Public:footer" />